export default {
  path: '/',
  name: 'homeView',
  redirect: 'home',
  component: () => import('@/views/HomeView.vue'),
  meta: { title: '首页' },
  children: [
    {
      path: 'home',
      name: 'home',
      component: () => import('@/views/home.vue'),
    },
    {
      path: 'tableView',
      name: 'tableView',
      meta: { title: '表格' },
      component: () => import('@/views/pageView/tableView.vue'),
    },
    {
      path: 'notepad',
      name: 'notepad',
      meta: { title: '记事本', forbid: true },
      component: () => import('@/views/pageView/notepad/index.vue'),
      children: [
        {
          path: 'notepadEnter',
          name: 'notepadEnter',
          meta: { title: '录入' },
          component: () => import('@/views/pageView/notepad/notepad-enter.vue'),
        },
        {
          path: 'notepadView',
          name: 'notepadView',
          meta: { title: '查看' },
          component: () => import('@/views/pageView/notepad/notepad-view.vue'),
        },
      ],
    },
    {
      path: 'summarize',
      name: 'summarize',
      meta: { title: '总结' },
      component: () => import('@/views/pageView/summarize.vue'),
    },
  ],
};
